// function abc(name,age='18'){        //函数直接给默认值。
//     return name+age
// }
// console.log(abc('feng'));

//1
let  a = ()=>console.log("hello");
a()

let b = wang=>console.log(wang);
b("fengzhilun")

let person = {
    name:'feng',
    eat(food){
        console.log(food)
    },
    say:()=>{
        console.log(
         this.name+'niahod');
    },
    run:()=>{
       return 'paobu'
    }
    
}
person.eat("西瓜")
person.say()
console.log(person.run());





